Skip to main content

Create Ticket Comment

AutomatR.Zendesk.Activities.CreateTicketComment

The "Create Ticket Comment" activity in AutomatR is part of the Zendesk activities package, facilitating the addition of comments to existing tickets in Zendesk. This activity enhances automation workflows by allowing users to provide additional information or updates to specific tickets.

Properties

NameDescription
Input
TextThe comment string. Enter a string or a String variable.
Ticket IDThe ID of the ticket.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds, i.e., 5) to start the activity.
Author IDThe ID of the comment author.
PublicSpecifies whether the comment should be public (visible to end-users) or private (internal).
UploadsThe name of the group. Enter a string or a String variable.
Output
ResultThe list of recent tickets. This field accepts only IndividualTicketResponse

How to use:

  1. Drag and drop the "Create Ticket Comment" activity onto the workflow.
  2. Configure the properties by specifying the ticket ID, comment text, and other optional details.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to add a comment to the specified ticket.

Example:

Consider an example where the "Create Ticket Comment" activity is used to add a comment to an existing ticket:

Create Ticket Comment:
Delay: 0
Ticket ID: 12345
Text: "This is a sample comment for ticket updates."
Author ID: 6789
Public: true
Uploads: ["file1.txt", "image.png"]
Result: ticketCommentResult

In this example, the activity adds a comment to the ticket with ID 12345. The comment text is set to "This is a sample comment for ticket updates," and the comment is marked as public. The list of uploads includes two files, "file1.txt" and "image.png." The result of the operation is stored in the ticketCommentResult variable for further handling in the workflow.